/**
 * Created by fangshufeng on 2017/9/21.
 */

import React from 'react';
import  {Calculator} from  '../LiftingState/Calculator'

const ManageComponent = {

    DatePicker(props) {
        return <div>Imagine a {props.color} datepicker here.</div>;
    },
    Calculator(props) {
        return <Calculator/>;
    }
}

export function BlueDatePicker() {
    return <ManageComponent.DatePicker color="blue"/>;
}

export function RedDatePicker() {
    return <ManageComponent.DatePicker color='red'/>;
}

export function GGCalculator() {
    return <ManageComponent.Calculator/>;
}
